package entity

type ReleaseNodeJournal struct {
	OrderId    int64  `json:"orderId"`
	ResourceId int64  `json:"resourceId"`
	State      int    `json:"state"`
	Result     string `json:"result"`
	FinishTime int64  `json:"finishTime"`
}

type SaveReleaseNodeJournalResult struct {
	*Result
	Data ReleaseNodeJournal `json:"data"`
}

type ReleaseStageJournal struct {
	OrderId      int64  `json:"orderId"`
	ResourceId   int64  `json:"resourceId"`
	PipelineId   int64  `json:"pipelineId"`
	PipelineName string `json:"pipelineName"`
	StageId      int64  `json:"stageId"`
	StageName    string `json:"stageName"`
	State        int    `json:"state"`
	Result       string `json:"result"`
	FinishTime   int64  `json:"finishTime"`
}

type SaveReleaseStageJournalResult struct {
	*Result
	Data []ReleaseStageJournal `json:"data"`
}
